class CreateEndarUsers < ActiveRecord::Migration
  def self.up
    create_table :endar_users do |t|

      t.column :event_id, :integer, :null => false
	  t.column :name, :string, :limit => 32, :null => false
	  t.column :email_sent, :integer
	  t.column :created_at, :timestamp
	  t.column :updated_at, :timestamp
	  
    end
  end

  def self.down
    drop_table :endar_users
  end
end
